package com.ssy.lingxi.purchase.entity.tender;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 招标内部审核记录实体类
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/3/1
 */
@Getter
@Setter
@Entity
@Table(schema = "public", name = "purchase_invite_tender_check_record")
public class InviteTenderInCheckRecord implements Serializable {
    private static final long serialVersionUID = 8546722147637556084L;
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy= GenerationType.SEQUENCE, generator="invite_tender_check_record_seq")
    @SequenceGenerator(sequenceName="purchase_invite_tender_check_record_seq", name="invite_tender_check_record_seq",allocationSize = 1)
    private Long id;

    /**
     * 用户id
     */
    @Column(columnDefinition = "int8", nullable = false)
    private Long userId;

    /**
     * 用户名称
     */
    @Column(columnDefinition = "varchar(20)", nullable = false)
    private String userName;

    /**
     * 用户所属组织机构名称
     */
    @Column(columnDefinition = "varchar(200)", nullable = false)
    private String userOrgName;

    /**
     * 用户职位
     */
    @Column(columnDefinition = "varchar(200)", nullable = false)
    private String userJobTitle;

    /**
     * 操作时间
     */
    @Column(columnDefinition = "int8")
    private Long createTime;

    /**
     * 状态
     */
    @Column(columnDefinition = "varchar(200)", nullable = false)
    private String statusValue;

    /**
     * 操作
     */
    @Column(columnDefinition = "varchar(200)", nullable = false)
    private String operationValue;

    /**
     * 会员id
     */
    @Column(columnDefinition = "int8", nullable = false)
    private Long memberId;

    /**
     * 会员名称
     */
    @Column(columnDefinition = "varchar(20)", nullable = false)
    private String memberName;

    /**
     * 会员角色id
     */
    @Column(columnDefinition = "int8", nullable = false)
    private Long memberRoleId;

    /**
     * 会员角色名称
     */
    @Column(columnDefinition = "varchar(20)", nullable = false)
    private String memberRoleName;

    /**
     * 会员id(供应商-投标方)
     */
    @Column(columnDefinition = "int8")
    private Long submitMemberId;

    /**
     * 会员名称(供应商-投标方)
     */
    @Column(columnDefinition = "varchar(20)")
    private String submitMemberName;

    /**
     * 会员角色id(供应商-投标方)
     */
    @Column(columnDefinition = "int8")
    private Long submitMemberRoleId;

    /**
     * 会员角色名称(供应商-投标方)
     */
    @Column(columnDefinition = "varchar(20)")
    private String submitMemberRoleName;

    /**
     * 审核意见
     */
    @Column(columnDefinition = "varchar(200)")
    private String checkRemark;

    /**
     * 投标id
     */
    @Column(columnDefinition = "int8", nullable = false)
    private Long inviteTenderId;


}
